religion_leadership = {
	
	religion_papal_head = {
		picture = GFX_religion_feature_papal_head
		potential = {
			has_game_started = yes
		}
		effect = {
			custom_tooltip = { text = tooltip_religion_feature_papal_head }
			hidden_tooltip = { 
				set_can_excommunicate = yes
				set_can_grant_divorce = yes
				set_can_grant_invasion_cb = yes
				set_can_grant_claim = no
				set_can_have_antipopes = no
				set_can_call_crusade = no
				set_religion_head = ROOT
			}
			if = {
				limit = { 
					ROOT = { 
						controls_religion = yes
					}
				}
				any_demesne_title = { 
					add_law = {
						law = succ_pagan_papal_succession
						cooldown = no
						opinion_effect = no
					}
				}
				#recalc_succession = yes
			}
		}
		ai_will_do = {
			factor = 50
			modifier = { 	
				factor = 0.1
				FROM = { 
					character = yes 
					NOR = { 
						religion = tengri_pagan
						religion = zun_pagan
					}
				}
			}
		}
	}
}
